package com.mszlu.news.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mszlu.news.dao.pojo.Follow;
import com.mszlu.news.vo.FollowVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FollowMapper extends BaseMapper<Follow> {
    List<FollowVo> listFanByUserId(Long userId);

    List<FollowVo> listFollowByUserId(Long userId);
}
